/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.opgea.token.service;

import java.util.List;
import java.util.Map;

import com.opgea.token.web.dto.LoginDTO;

/**
 * 
 * @author Ramesh
 */
public interface LoginService {

    public Boolean isAuthenticUser(String loginId, String password);

    public LoginDTO create(LoginDTO login);

    public LoginDTO update(LoginDTO login);

    public LoginDTO find(Long id);

    public LoginDTO findByLoginId(String loginId);

    public List<LoginDTO> findAll();

    public Map<String, Object> verify(String loginId, String password);
}
